package domain;

public class PhoneNumber 
{
	public enum PhoneType
	{
		HOME_PHONE,
		CELL_PHONE,
		OFFICE_PHONE;	
	}
	public static final int MAX_PHONE_NUMBER = 3;
	private long idPhoneNumber;
	private String phoneKind;
	private String phoneNumber;
	private Contact contact;
	public PhoneNumber()
	{
		
	}
	public PhoneNumber(PhoneType phoneKind, String phoneNumber)
	{
		//this.idPhoneNumber = id;
		this.phoneKind = phoneKind.toString();
		this.phoneNumber = phoneNumber;
		//this.contact = co
	}
	public Contact getContact() {
		return contact;
	}
	public void setContact(Contact contact) {
		this.contact = contact;
	}
	public long getId() {
		return idPhoneNumber;
	}
	public void setId(long id) {
		this.idPhoneNumber = id;
	}
	public String getPhoneKind() {
		return phoneKind;
	}
	public void setPhoneKind(String phoneKind) {
		this.phoneKind = phoneKind;
	}
	public String getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	
	
}
